<div id="formeditcarr">
<h1>datos</h1>
<?php
$atrForm =array(
         'class' =>'edit',
         'id'    => 'edit',
         );

echo form_open('admin/upd_carrera', $atrForm);

echo form_label('Id');
$atrInputId=array (
         'name' =>'id_carr',
         'value'=> $id_carr,
         );
echo form_input($atrInputId);

echo form_label('Fecha de Alta:');
        $atrInputdate=array (
        'name' =>'datepicker',
        'id'   =>'datepicker',
        'size'=>'12',
        );
echo form_input($atrInputdate);

echo form_label('Descripcion');
    $atrInputDesc=array ( 
         'name' =>'desc_carr',
         'value'=> $desc_carr,
         );
echo form_input($atrInputDesc);

echo form_label('Estado(Activa?)');
$atrCheckestado = array(
    'name'        => 'estado',
    'id'          => 'estado',
    'value'       => $estado,
    'checked'     => TRUE,
     );
echo form_checkbox($atrCheckestado);
                
$atrSubmEdit=array (
        'name' =>'submit',
        'id'   =>'submit',
        'value'=>'Editar'
        );
echo form_submit($atrSubmEdit);             

echo form_close();
?> 
</div>